﻿

// =================================================================== 
// Module说明
//====================================================================
// 创建时间：2018-12-13 12:49:24
// 负责人：lvsc
// ===================================================================

using System;
using System.Collections.Generic;
using System.Linq.Expressions;
using OF.Component.Model;
namespace OF.Component.IDAL
{

    /// <summary>
    ///模板城市关联 数据访问层接口  
    /// </summary>
    internal partial interface IExpressFeeTplCity
    {

        /// <summary>
        /// 根据断言条件获取单个模板城市关联
        /// </summary>
        ExpressFeeTplCityInfo QuerySingle(Expression<Func<ExpressFeeTplCityInfo, bool>> predicate);

        /// <summary>
        /// 根据断言条件获获取模板城市关联列表
        /// </summary>
        IList<ExpressFeeTplCityInfo> QueryList(Expression<Func<ExpressFeeTplCityInfo, bool>> predicate);
        /// <summary>
        /// 批量插入
        /// </summary>
        void BatchInsert(IList<ExpressFeeTplCityInfo> list);
        /// <summary>
        /// 批量删除
        /// </summary>
        /// <param name="ids">id集合，逗号间隔</param>
        void BatchDelete(string inStr);
        /// <summary>
        /// 根据模版ID逻辑删除模版下所有城市
        /// </summary>
        /// <param name="expressFeeTplId"></param>
        void LogicDeleteByTplId(int expressFeeTplId);
    }


}